package com.qiaofang.applet.service.other.domain;

import com.qiaofang.applet.common.base.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author: youqing.yang
 * @create: 2020/09/22 17:21
 **/
@Data
@Document(collection = "other_province_city")
@ApiModel("城市公司表")
@NoArgsConstructor
@AllArgsConstructor
public class ProvinceCity extends BaseDomain {

    @ApiModelProperty("区域code")
    private String areaCode;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("上级code")
    private String parentCode;

    @ApiModelProperty("简称")
    private String shortName;

    @ApiModelProperty("层次")
    private String levelType;

    //@ApiModelProperty("区号")
    //private String cityCode;
    @ApiModelProperty("邮编")
    private String zipCode;

    @ApiModelProperty("区市县")
    private String mergerName;

    @ApiModelProperty("经度")
    private String lng;

    @ApiModelProperty("纬度")
    private String lat;

    @ApiModelProperty("拼音")
    private String pinyin;
}
